<h1> Edit Student </h1>

<%= form_for @student do |f| %>
	<p>
		<%= f.label :code %><br />
		<%= f.text_field :code %>
	</p>
	<p>
		<%= f.label :name %><br/>
		<%= f.text_field :name %>
	</p>
	<p>
		<%= f.label :class_name %><br/>
		<%= f.text_field :class_name %>
	</p>
	<p>
		<%= f.submit "Update Student" %>
	</p>
<% end %>